package ch8.ex8;

import static ch8.print.Print.*;
import ch7.ex11.Sandwich;

public class FastFoodTest {
	public static void main(String... args){
		FastSandwich fs = new FastSandwich();
		println("Fries which that?");
		println("Super Size?");
		fs.rushOrder();
		fs.gobble();
	}
}

interface FastFood{
	void rushOrder();
	void gobble();
}

class FastSandwich extends Sandwich implements FastFood{

	public void rushOrder() {
		println("Rushing your sandwich order");
	}

	public void gobble() {
		println("Chomp! Snort! Gobble!");
	}
}